package com.im.sdk.server.protocal.s;

public class PKickoutInfo {
    public final static int KICKOUT_FOR_DUPLICATE_LOGIN = 1;
    public final static int KICKOUT_FOR_ADMIN = 2;

    protected int code = -1;
    protected String reason = null;

    public PKickoutInfo(int code, String reason)
    {
        this.code = code;
        this.reason = reason;
    }

    public int getCode()
    {
        return code;
    }

    public void setCode(int code)
    {
        this.code = code;
    }

    public String getReason()
    {
        return reason;
    }

    public void setReason(String reason)
    {
        this.reason = reason;
    }

}
